#!/usr/bin/python
 
var1 = 'Hello World nihao shi ma!'
var2 = "Python Runoob"
 
list = ['a','b','c','d']

str = ' '.join(list)

print "str", str

print "var1[0]: ", var1[0]

print "var1.split(" ")[-1] ", var1.split(" ")[-1]

print "str[1:] ", str[1:]

print "var2[1:5]: ", var2[:-4]